package com.efast.dmom.aps.service;

import java.util.List;

import com.efast.dmom.aps.bean.ResultBean;
import com.efast.dmom.aps.bean.Shift;

public interface ShiftService {
	/*
	 * 
	 * save
	 */
	public ResultBean save(Shift shift);
	/*
	 * 
	 * delete
	 */
	public ResultBean delete(Shift shiftId);
	/*
	 * 
	 * update
	 */
	public ResultBean update(Shift shift);
	/*
	 * 
	 * select
	 */
	 public List<Shift> getAll();
	 
    public Shift getShiftByShiftId(Long shiftId);
    public Shift getShiftByShiftCode(String shiftCode);
    public Shift getShiftByShiftName(String shiftName);
    
	}
